package com.example.wan1.di;


import com.example.wan1.R;
import com.example.wan1.second.ArticleAdapter;

import dagger.Module;
import dagger.Provides;

/***
 * 创建时间：2020/5/2 15:37
 * 创建人：10850
 * 功能描述：
 */
@Module
public abstract class SecondActivityModule {

    @Provides
    public static ArticleAdapter provideAdapter(int id) {
        return new ArticleAdapter(id, null);
    }

    @Provides
    public static int id() {
        return R.layout.item_art;
    }

//    @Binds
//    @ActivityScope
//    public abstract LookContract.Presenter bindPresenter(LookPresenter lookPresenter);

//    @ActivityScope
//    @Provides
//    public static LookPresenter provideLookPresenter() {
//        return new LookPresenter();
//    }

}
